package zhongbo.java.air.dictionary.service;

import org.apache.ibatis.annotations.Update;
import zhongbo.java.air.common.exception.MyException;
import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.dictionary.model.AirCraft;

/**
 * 说明：
 * 飞机信息相关服务
 *
 * @author 钟波dellNotebook
 * @since 2025年03月31日 星期一 08:28:57
 */
public interface IAirCraftService {
    // 增删改查,和支持指定字段排序的分页功能

    AirCraft addAir(AirCraft airCraft)throws MyException;
    String deleteAir(String id)throws MyException;
    AirCraft updateAir (AirCraft airCraft)throws MyException;
    AirCraft selectAirById(String id);
    PageVo<AirCraft> page(Integer pageNumber, Integer pageSize, boolean order, String searchField, String keyword, String sortField);
}
